﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ChainOfResponsibilityPattern.DemoOne
{
    public class Husband:IHandler
    {
        public void HandleMessage(IWomen women)
        {
            Console.WriteLine("妻子的請示是：" + women.getRequest());
            Console.WriteLine("同意");
        }
    }
}
